Professional ASP.NET MVC 4 by Jon Galloway

Professional ASP.NET MVC 4 by Jon Galloway

Author:Jon Galloway
Language: eng
Format: epub
Publisher: John Wiley & Sons
Published: 2012-09-11T16:00:00+00:00


MVC Areas

Areas, introduced in ASP.NET MVC 2, allow you to divide your models, views, and controllers into separate functional sections. This means you can separate larger or more complex sites into sections, which can make them a lot easier to manage.

Area Route Registration

Area routes are configured by creating classes for each area that derive from the AreaRegistration class, overriding AreaName and RegisterArea members. In the default project templates for ASP.NET MVC, there's a call to the method AreaRegistration.RegisterAllAreas within the Application_Start method in Global.asax.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.